@extends('layouts.app')

@section('content')
<div class="container">
    <div class="justify-content-center">
			<form class="ui form" method="POST">
			  <h4 class="ui dividing header">Repository Information</h4>
			  @csrf
			  <div class="field required">
			    <label>Name</label>
		      <div class="four wide field">
		        <input type="text" name="name" placeholder="Name">
		      </div>
			  </div>

			  <div class="two fields required">
			      <div class="four wide field">
			      	<label>Category</label>
			        <select class="ui fluid search dropdown" name="category">
			          <option value="maven">Maven</option>
			        </select>
			      </div>

			      <div class="four wide field required">
			      	<label>Type</label>
			        <select class="ui fluid search dropdown" name="type">
			        	<option value="local">Local</option>
			          <option value="remote">Remote</option>
			          <option value="virtual">Virtual</option>
			        </select>
			      </div>
			  </div>

			  <div class="fields">
			  	<div class="twelve wide field">
			  		<label>Upstream url</label>
			  		<input type="text" name="upstream_url" placeholder="https://jcenter.com/">
			  	</div>
			  </div>

				<div class="field required">
				  <label>Description</label>
				  <textarea rows="2" name="description"></textarea>
				</div>

				<button class="ui primary submit button" type="submit">Submit</button>
			</form>
		</div>
</div>
@endsection